package com.its.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author huguangjun
 * @className OrderMain80
 * @date 2021/1/8
 * @desc 10:54
 */
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})

// 激活feign并开启
@EnableFeignClients

// 激活断路器
@EnableHystrix
// 回路的意思
@EnableCircuitBreaker
public class OrderFeignMain80 {
    public static void main(String[] args) {
        SpringApplication.run(OrderFeignMain80.class, args);
    }
}
